@include b(scroll-view) {
  overflow: hidden;
  position: relative;
  height: 100%;
  &:hover,
  &:active,
  &:focus {
    > .v-scrollbar__bar {
      opacity: 1;
      transition: opacity 340ms ease-out;
    }
  }
  @include e(wrap) {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    @include m(hidden-default) {
      &::-webkit-scrollbar {
        width: 0;
        height: 0;
      }
    }
  }

  @include e(thumb) {
    display: block;
    height: 0;
    cursor: pointer;
    transition: background-color 0.2s linear, width 0.2s ease-in-out;
    right: 2px;
    background-color: #999;
    border-radius: 6px;
    position: absolute;
  }
  @include e(bar) {
    position: absolute;
    right: 2px;
    z-index: 1;
    transition: background-color 0.2s linear, opacity 0.2s linear;
    background-color: transparent;
    &.is-simple {
      @include e(thumb) {
        background-color: rgba(192, 196, 204, .7);
      }
    }
    // bar hover时
    &:not(.is-simple) {
      &:hover,
      &.is-hovering {
        background-color: #dddddd;
        opacity: 0.9;

        &.is-vertical {
          .v-scroll-view__thumb {
            width: 11px;
          }
        }
      }
    }
    @include when(vertical) {
      width: 15px;
      top: 6px;
      bottom: 6px;
      > div {
        width: 6px;
      }
    }

    @include when(horizontal) {
      height: 6px;
      left: 2px;
      > div {
        height: 100%;
      }
    }
  }
}
